projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd4533
)
(redisplay_window): Don't do the scroll_step thing
author
Karl Heuer
<kwzh@gnu.org>
Thu, 21 Dec 1995 16:52:06 +0000
(16:52 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 21 Dec 1995 16:52:06 +0000
(16:52 +0000)
if startp is outside the accessible part of the buffer.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index c64dd89f81d2cba3842013897abf5b7f24f35ad5..aa7226cfd8acc7aa7ac05e42272e53b736b3442a 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-1679,7
+1679,8
@@
redisplay_window (window, just_this_one)
/* Try to scroll by specified few lines */
- if (scroll_step && !current_buffer->clip_changed)
+ if (scroll_step && !current_buffer->clip_changed
+ && startp >= BEGV && startp <= ZV)
{
if (PT > startp)
{